TDS Coordinate File (.CR5)

File Format of TDS-48 Coordinate Files
The TDS Coordinate File is a binary file consisting of a 38 byte header, followed by coordinate point records 45 bytes in length. The coordinate file must have the extension of .CR5, and in the case of the HP-48 series of Hewlett Packard calculators, the extension must be UPPER case.

Coordinate File Format

Header
Bytes 1-10 is the filename in ASCII
Bytes 11-20 are not used
Bytes 21-34 is the staring point number in MS long integer format. This is -1 if the file is non-sequential.
Bytes 35-38 is the last point number in MS long integer format.

Coordinate Point Records
Bytes 1-4 is the point number in MS long integer format. This record is –1 if the point is unused(sequential files only)
Bytes 5-12 is the Northing of the point in MS double Precision floating point format
Bytes 13-20 is the Easting of the point in MS double Precision floating point format
Bytes 21-28 is the Elevation of the point in MS double Precision floating point format
Bytes 29-46 is the point descriptor in ASCII (code)